<!DOCTYPE html>
<html lang="zh-CN">

	<head>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<title>用户登录/注册</title>
		<base href="./" />
		<link href="css/main.css" rel="stylesheet">
		<script type="text/javascript" src="js/jquery.min.js"></script>
		<script type="text/javascript" src="js/toastr.js"></script>
		<script type="text/javascript" src="js/bootstrap.min.js"></script>
		<script src="require.js" data-main="login" async="true" defer></script>
		<script src="js/config.js" async="true" defer></script>
	</head>

	<body class="login-body">
		<div class="panel panel-primary animated bounceIn login">
			<div class="panel-heading">用户登录</div>
			<div class="panel-body">
				<form action="login.do" method="post" autocomplete="off">
					<div class="form-group">
						<div class="input-group">
							<span class="input-group-addon"><i class="fa fa-user fa-fw"></i></span>
							<input required="required" type="text" name="userName" class="form-control" placeholder="请输入帐号或手机">
						</div>
					</div>
					<div class="form-group">
						<div class="input-group">
							<span class="input-group-addon"><i class="fa fa-key fa-fw"></i></span>
							<input required="required" type="password" name="userPwd" class="form-control" placeholder="请输入密码">
						</div>
					</div>

					<div class="form-group">
						<div class="input-group">
							<span class="input-group-addon"><i
							class="fa fa-keyboard-o fa-fw"></i></span> <input required="required" type="text" name="code" class="form-control" placeholder="验证码">
						</div>
					</div>

					<div class="form-group">
						<img id="code" style="cursor: pointer; width: 100%; height: 40px;" src="code.do" title="点击更换验证码" onclick="this.src='code.do?v='+new Date().getTime()">
					</div>
					<div class="form-group">
						<div class="col-sm-12 text-center">
							<button type="submit" class="btn btn-primary btn-block">
							<i class="fa fa-user fa-fw"></i> 登 录
						</button><br />
							<a href="javascript:void(0);" class="_show2">
								没有账号？
							</a>
						</div>
					</div>
				</form>
			</div>
		</div>

		<div class="panel panel-primary animated bounceIn reg" style="display: none;">
			<div class="panel-heading">用户注册</div>
			<div class="panel-body">
				<form action="reg.do" method="post">
					<div class=" col-sm-6">
						<div class="form-group">
							<div class="input-group error">
								<span class="input-group-addon"><i class="fa fa-user fa-fw"></i></span>
								<input type="text" name="userName" class="form-control" placeholder="请输入帐号">
							</div>
						</div>
					</div>
					<div class=" col-sm-6">
						<div class="form-group">
							<div class="input-group">
								<span class="input-group-addon"><i class="fa fa-user-o fa-fw"></i></span>
								<input type="text" name="userRealName" class="form-control" placeholder="请输入昵称">
							</div>
						</div>
					</div>
					<div class=" col-sm-6">
						<div class="form-group">
							<div class="input-group">
								<span class="input-group-addon"><i class="fa fa-key fa-fw"></i></span>
								<input type="password" name="userPwd" class="form-control" placeholder="请输入密码">
							</div>
						</div>
					</div>
					<div class=" col-sm-6">
						<div class="form-group">
							<div class="input-group">
								<span class="input-group-addon"><i class="fa fa-key fa-fw"></i></span>
								<input type="password" name="userPwd1" class="form-control" placeholder="请再次输入密码">
							</div>
						</div>
					</div>
					<div class=" col-sm-6">
						<div class="form-group">
							<div class="input-group">
								<span class="input-group-addon"><i
							class="fa fa-phone fa-fw"></i></span> <input type="text" name="userTel" class="form-control" placeholder="手机号码">
							</div>
						</div>
					</div>
					<div class=" col-sm-6">
						<div class="form-group">
							<div class="input-group">
								<span class="input-group-addon"><i
							class="fa fa-keyboard-o fa-fw"></i></span> <input style="padding-right: 12px;" type="text" name="code" class="form-control" placeholder="手机验证码">
								<div class="input-group-btn">
									<button  style="width: 8em;" type="button" class="btn btn-default _codeBtn">发送验证码</button>
								</div>
							</div>
						</div>
					</div>

					<div class="form-group">
						<div class="col-sm-12 text-center">
							<button type="submit" class="btn btn-primary btn-block">
							<i class="fa fa-user-plus fa-fw"></i> 注 册
						</button><br />
							<a href="javascript:void(0);" class="_show1">
								进入登录
							</a>
						</div>
					</div>
				</form>
			</div>
		</div>
	</body>

</html>